2009-01-07 Matthias Clasen <mclasen@redhat.com>
Bug 566862 – pixbuf_new_from_file does not autodetect format
* gdk-pixbuf-io.c (_gdk_pixbuf_get_module): Go back to sniffing
without looking at the filename, to avoid breaking expected
functionality.
svn path=/trunk/; revision=22073
+2009-01-07 Matthias Clasen <mclasen@redhat.com>
+
+ Bug 566862 – pixbuf_new_from_file does not autodetect format
+
+ * gdk-pixbuf-io.c (_gdk_pixbuf_get_module): Go back to sniffing
+ without looking at the filename, to avoid breaking expected
+ functionality.
+
2009-01-01 Matthias Clasen <mclasen@redhat.com>
* === Released 2.15.0 ===
gchar *type;
gint j;
- mime_type = g_content_type_guess (filename, buffer, size, NULL);
+ mime_type = g_content_type_guess (NULL, buffer, size, NULL);
for (modules = get_file_formats (); modules; modules = g_slist_next (modules)) {
GdkPixbufModule *module = (GdkPixbufModule *)modules->data;